//
//  DocumentLinkViewController.h
//  FMS
//
//  Created by Steven on 11/3/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DocumentLinkViewController : UIViewController <UITableViewDataSource,UITableViewDelegate> {
    NSMutableArray *mainArray;
    NSDictionary *dictLanguage;
    int currentRecordIndex;
    BOOL isLoadMore;
    BOOL didReadyLoadMore;
    BOOL isLock;
}

@property (unsafe_unretained) id parent;
@property (strong,nonatomic) IBOutlet UITableView *mainTableView;
@property (strong,nonatomic) IBOutlet UILabel *lbItemIdTitle;
@property (strong,nonatomic) IBOutlet UILabel *lbRoomTitle;
@property (strong,nonatomic) IBOutlet UILabel *lbFloorTitle;
@property (strong,nonatomic) IBOutlet UILabel *lbBuildingTitle;
@property (strong,nonatomic) IBOutlet UILabel *lbItemTypeTitle;
@property (strong,nonatomic) NSMutableDictionary *currentDocumentDict;
@property (strong,nonatomic) UIImage *documentImage;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil parent:(id)_parent;
- (IBAction)backPreviousView:(id)sender;
- (IBAction)handleRightCornerEvent:(id)sender;

- (BOOL) handleAddNewDocumentForItem:(NSMutableDictionary*)_itemDict;

@end
